/* 
 * Since 2008 - 2012
 */
package com.hh.bss.project.vo.query;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;

import java.util.*;

import com.hh.bss.base.*;
import com.hh.bss.common.page.*;
import com.hh.bss.common.page.impl.*;
import com.hh.bss.project.dao.*;
import com.hh.bss.project.entity.*;
import com.hh.bss.project.service.*;
import com.hh.bss.project.vo.query.*;
import com.hh.bss.util.*;





public class ContractJobCvRecomQuery extends BaseQuery implements Serializable {
    private static final long serialVersionUID = 3148176768559230877L;
    

	/** id */
	private java.lang.Integer id;
	/** 职位id */
	private java.lang.Integer jobId;
	/** 简历id */
	private java.lang.Integer cvId;
	/** 推荐原因(优势) */
	private java.lang.String recomResult;
	/** 对于此职位的顾虑 */
	private java.lang.String recomRisk;
	/** 文件大小 */
	private java.lang.String docSize;
	/** 推荐表模板 */
	private java.lang.Integer exportTemplate;
	/** 自动生成的推荐表文件 */
	private java.lang.String exportDoc;
	/** 直接上传的推荐表文件 */
	private java.lang.String uploadDoc;
	/** 是否需要短信通知? Y-是 N-不需要 */
	private java.lang.String isSmsnote;
	/** 状态 */
	private Integer status;
	/** creator */
	private java.lang.String creator;
	/** createDt */
	private java.util.Date createDtBegin;
	private java.util.Date createDtEnd;
	/** modifier */
	private java.lang.String modifier;
	/** modifiedDt */
	private java.util.Date modifiedDtBegin;
	private java.util.Date modifiedDtEnd;
    private String summary;
    private String jobName;
    private String custName;
    private String cvName;
    private String jobNo;
    /** 职位负责人 */
    private String jobManager;
    /** 是否 发推荐信 0 否 1 是 */
    private Integer isEmail; 
    /**  推荐人 */
    private String recomCreator;
    //recomDt
    /**  推荐日期 开始 */
    private Date recomDtBegin;
    /**  推荐日期 结束*/
	private Date recomDtEnd;
	
	private boolean auth = true;
    
	public boolean isAuth() {
		return auth;
	}

	public void setAuth(boolean auth) {
		this.auth = auth;
	}

	public Date getRecomDtBegin() {
		return recomDtBegin;
	}

	public String getRecomDtBeginString() {
		return DateConvertUtils.format(getRecomDtBegin(), "yyyy-MM-dd");
	}
	public String getRecomDtEndString() {
		return DateConvertUtils.format(getRecomDtEnd(), "yyyy-MM-dd");
	}
	public void setRecomDtBegin(Date recomDtBegin) {
		this.recomDtBegin = recomDtBegin;
	}

	public Date getRecomDtEnd() {
		return recomDtEnd;
	}

	public void setRecomDtEnd(Date recomDtEnd) {
		this.recomDtEnd = recomDtEnd;
	}

	public String getRecomCreator() {
		return recomCreator;
	}

	public void setRecomCreator(String recomCreator) {
		this.recomCreator = recomCreator;
	}

	public Integer getIsEmail() {
		return isEmail;
	}

	public void setIsEmail(Integer isEmail) {
		this.isEmail = isEmail;
	}

	public String getJobManager() {
		return jobManager;
	}

	public void setJobManager(String jobManager) {
		this.jobManager = jobManager;
	}

	public String getJobNo() {
		return jobNo;
	}

	public void setJobNo(String jobNo) {
		this.jobNo = jobNo;
	}

	public String getJobName() {
		return jobName;
	}

	public void setJobName(String jobName) {
		this.jobName = jobName;
	}

	public String getCustName() {
		return custName;
	}

	public void setCustName(String custName) {
		this.custName = custName;
	}

	public String getCvName() {
		return cvName;
	}

	public void setCvName(String cvName) {
		this.cvName = cvName;
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public java.lang.Integer getId() {
		return this.id;
	}
	
	public void setId(java.lang.Integer value) {
		this.id = value;
	}
	
	public java.lang.Integer getJobId() {
		return this.jobId;
	}
	
	public void setJobId(java.lang.Integer value) {
		this.jobId = value;
	}
	
	public java.lang.Integer getCvId() {
		return this.cvId;
	}
	
	public void setCvId(java.lang.Integer value) {
		this.cvId = value;
	}
	
	public java.lang.String getRecomResult() {
		return this.recomResult;
	}
	
	public void setRecomResult(java.lang.String value) {
		this.recomResult = value;
	}
	
	public java.lang.String getRecomRisk() {
		return this.recomRisk;
	}
	
	public void setRecomRisk(java.lang.String value) {
		this.recomRisk = value;
	}
	
	public java.lang.String getDocSize() {
		return this.docSize;
	}
	
	public void setDocSize(java.lang.String value) {
		this.docSize = value;
	}
	
	public java.lang.Integer getExportTemplate() {
		return this.exportTemplate;
	}
	
	public void setExportTemplate(java.lang.Integer value) {
		this.exportTemplate = value;
	}
	
	public java.lang.String getExportDoc() {
		return this.exportDoc;
	}
	
	public void setExportDoc(java.lang.String value) {
		this.exportDoc = value;
	}
	
	public java.lang.String getUploadDoc() {
		return this.uploadDoc;
	}
	
	public void setUploadDoc(java.lang.String value) {
		this.uploadDoc = value;
	}
	
	public java.lang.String getIsSmsnote() {
		return this.isSmsnote;
	}
	
	public void setIsSmsnote(java.lang.String value) {
		this.isSmsnote = value;
	}
	
	public Integer getStatus() {
		return this.status;
	}
	
	public void setStatus(Integer value) {
		this.status = value;
	}
	
	public java.lang.String getCreator() {
		return this.creator;
	}
	
	public void setCreator(java.lang.String value) {
		this.creator = value;
	}
	
	public java.util.Date getCreateDtBegin() {
		return this.createDtBegin;
	}
	
	public void setCreateDtBegin(java.util.Date value) {
		this.createDtBegin = value;
	}	
	
	public java.util.Date getCreateDtEnd() {
		return this.createDtEnd;
	}
	
	public void setCreateDtEnd(java.util.Date value) {
		this.createDtEnd = value;
	}
	
	public java.lang.String getModifier() {
		return this.modifier;
	}
	
	public void setModifier(java.lang.String value) {
		this.modifier = value;
	}
	
	public java.util.Date getModifiedDtBegin() {
		return this.modifiedDtBegin;
	}
	
	public void setModifiedDtBegin(java.util.Date value) {
		this.modifiedDtBegin = value;
	}	
	
	public java.util.Date getModifiedDtEnd() {
		return this.modifiedDtEnd;
	}
	
	public void setModifiedDtEnd(java.util.Date value) {
		this.modifiedDtEnd = value;
	}
	
	private String field_type;
	private String query;

	public String getField_type() {
		return field_type;
	}

	public void setField_type(String file_type) {
		this.field_type = file_type;
	}

	public String getQuery() {
		return query;
	}

	public void setQuery(String query) {
		this.query = query;
	}
        private String sort;
	private String dir;

        public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		
		this.sort = sort;
		if (!StringHelper.isEmpty(sort)&&!StringHelper.isEmpty(dir))
		  this.setSortColumns(sort+" "+dir);
	}

	public String getDir() {
		return dir;
	}

	public void setDir(String dir) {
		this.dir = dir;
	}
	public String toString() {
		return ToStringBuilder.reflectionToString(this,ToStringStyle.MULTI_LINE_STYLE);
	}
	
}

